package com.snail.clouds.application;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 云存储系统应用启动类
 * 用于一键启动所有服务（API服务和WebDAV服务）
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.snail.clouds")
@MapperScan("com.snail.clouds.framework.mapper")
public class CloudsApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudsApplication.class, args);
    }
}